///////////////////////////////////////////////////////////////////////////////
// Copyright 2009 Arabic Game Developer Network All rights reserved
// www.agd-online.com - info@agdn-online.com
//
// File: chambers.cpp
// Description: 
//
///////////////////////////////////////////////////////////////////////////////

// This file is part of kvalleyX.
// 
// kvalleyX is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// kvalleyX is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with kvalleyX.  If not, see <http://www.gnu.org/licenses/>.

/////////////////// #includes /////////////////////////////////////////////////
#include "chambers.h"

/////////////////// ChamberDraw Class Implementation ///////////////////

boost::scoped_ptr<ChamberDraw> ChamberDraw::instance(NULL);

ChamberDraw::ChamberDraw()
{
}
	
/*
void ChamberDraw::Draw(const TextureRef& refBlock,const TextureRef& refMap,int
CHAMBER_WIDTH,int CHAMBER_HEIGHT,int CHAMBER_CELL,int CHAMBER_TOP,int
CHAMBER_LEFT,int CHAMBER_BOTTOM,int CHAMBER_RIGHT,int ChamberScrollX)
{

}*/

//////////////////////////Global Functions ///////////////////////////////////
void ChamberDrawInit(void)
{
	ChamberDraw::instance.reset(new ChamberDraw());
}

void ChamberDrawShutdown(void)
{
	std::cerr << "Goodbye ChamberDrawShutdown\n";
	ChamberDraw::instance.reset(NULL);
}

///////////////////////CoreLib namespace implementation////////////////////////
namespace CoreLib
{

CORELIB_API uint16_t* ChamberGetCell(void* pRefTexMap,int iX,int iY)
{
	return NULL;
}

CORELIB_API void ChamberDrawBricks(void* pRefBlock,void* pRefTexMap,int CHAMBER_WIDTH,int CHAMBER_HEIGHT,int CHAMBER_CELL,int CHAMBER_TOP,int CHAMBER_LEFT,int CHAMBER_BOTTOM,int CHAMBER_RIGHT,int ChamberScrollX)
{
}

CORELIB_API void ChamberChanged(void* pRefTexMap)
{
}

CORELIB_API void ChamberClipBegin(uint32_t Left,uint32_t wRight)
{
}

CORELIB_API void ChamberClipEnd(void)
{
}

CORELIB_API void ChamberUnload(void* pRefTexMap)
{
}

CORELIB_API void* BlockArtLoad(const char *pszArtName,char szOutCrushName[64])
{
	return NULL;
}

CORELIB_API void BlockArtUnload(void *pArt)
{
}

} // CoreLib Namespace

////////////////// End of File : Chambers.cpp //////////////////